package com.javabasic.oop;

public class Unit28Final extends Unit {
	final float PI = 3.14f;
	int number;
	
	public static void main (String [] args) {
		Unit28Final test = new Unit28Final();
		test.number = 25;
		//Error
		//test.PI = 4f;
	}
	
	public void change() {
		number = 30;
		//PI = 5f;
	}
	
//	void show() {
//		
//	}
}

// final class can not extends
class Unit {
	final public void show() {
		
	}
}
